import 'ant-design-vue/dist/reset.css'
import '@/styles/tailwind.css'
import 'nprogress/nprogress.css'
import '@/styles/nprogress.scss'
import '@/styles/main.scss'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'
import App from './App.vue'
import router from './router'
import directives from '@/directives'

dayjs.locale('zh-cn')

const app = createApp(App)
const pinia = createPinia()

pinia.use(piniaPluginPersistedstate)
app.use(pinia)
app.use(router)
app.use(directives)

app.mount('#app')
